<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
<h1>首页</h1>


国际化
<h2 th:text="#{reg}"></h2>
<h2 th:text="#{login}"></h2>


<a th:href="@{/hello(l='zh_CN')}">中文</a>
<a th:href="@{/hello(l='en_US')}">English</a>





</body>

<script>

    // fetch("http://localhost:8081/hello").then(function(i){
    //     return i.json();
    // }).then(function(info){
    //     console.log(info)
    // })

</script>

</html>